package com.ruoyi.project.game.recommendhistory.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 热搜设置对象 recommend_history
 * 
 * @author shixiangwen
 * @date 2020-02-24
 */
public class RecommendHistory extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** null */
	private Long id;

	/** 游戏ID */
	@Excel(name = "游戏ID")
	private Long gameId;

	/** 设置热搜时间 */
	@Excel(name = "设置热搜时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date hotSearchTime;

	/** 是否热搜 */
	@Excel(name = "是否热搜")
	private Long hotSearch;

	private String name;

	private String icon;

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setGameId(Long gameId) {
		this.gameId = gameId;
	}

	public Long getGameId() {
		return gameId;
	}

	public void setHotSearchTime(Date hotSearchTime) {
		this.hotSearchTime = hotSearchTime;
	}

	public Date getHotSearchTime() {
		return hotSearchTime;
	}

	public void setHotSearch(Long hotSearch) {
		this.hotSearch = hotSearch;
	}

	public Long getHotSearch() {
		return hotSearch;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("gameId", getGameId()).append("createTime", getCreateTime()).append("createBy", getCreateBy())
				.append("hotSearchTime", getHotSearchTime()).append("hotSearch", getHotSearch()).toString();
	}
}
